fix(ios): video quality #760
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Platforms affected
ios
Motivation and Context
I use the

cordova-camera-pluginto upload videos to youtube at which time I realized that literally every upload ends up on beingsdonly even though most smartphones these days are able to record much higher resolution videos.Before the change:
After the change:

(compression gets skipped, just shows up very shortly)
Closes #732
Description
At the moment it's more of a quickfix than a proper solution, I guess I can even improve it further by adding a video quality option to the
CameraOptionsthen everyone can choose themselfs if they would want to be able to get higher resolution videos.Does anyone have an opinion on that?
For reference: https://stackoverflow.com/questions/20190485/how-to-avoid-compression-after-selecting-video-from-uiimagepickercontroller-in-i
Testing
As described tested it by uploading the same video 2 times to youtube from a iPhone to make sure that a higher resolution video got uploaded which was the case.
Checklist
(platform)if this change only applies to one platform (e.g.(android))